// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.

namespace Stride.Core.Settings;

/// <summary>
/// An internal class that represents a set of settings that can be stored in a file.
/// </summary>
[DataContract("SettingsFile")]
internal class SettingsFile
{
    /// <summary>
    /// Initializes a new instance of the <see cref="SettingsFile"/> class.
    /// </summary>
    public SettingsFile(SettingsProfile profile)
    {
        Settings = profile;
    }

    /// <summary>
    /// Gets the settings profile to serialize.
    /// </summary>
    [DataMemberCustomSerializer]
    public SettingsProfile Settings { get; init; }
}
